﻿

public class Request_Like : RequestBase
{

    public const string Key = "Like";

    public FromToUserRequestData likeReqData = new FromToUserRequestData();

    protected override ISerialize requestData
    {
        get
        {
            return likeReqData;
        }
    }

    public Request_Like() : base()
    {
        MessagePacket.key = Key;
    }

    public override void OnSend()
    {
        base.OnSend();

        GameDebug.Log($"{likeReqData.fromUserId} like：{likeReqData.toUserId}");
    }

    public override ResponseData NewResponseData()
    {
        return new ResponseData();
    }

    //public override ResponseBase GetResponseHandler()
    //{
    //    return new Response_Common();
    //}
}
